<template>
  <dlv class="loading">
    LOADING ...
  </dlv>
</template>
<script>
// 组件页面载入后 判断是否移动页面做相应的跳转
export default {
  name: 'loading-page',
  computed: {
    isMobile() {
      return false
    }
  },
  mounted() {
    this.$router.push('/home')
    return
    if (this.isMobile) {
      this.$router.push('/mb')
    } else{
      this.$router.push('/pc')
    }
  }
}
</script>


<style scoped>
.loading {
  width: 100%;
  height: 100%;
  position: fixed;
  top: 0;
  left: 0;
  background: #fff;
  z-index: 9999;
}
.loading .loading-icon {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
</style>